//
//  Application.swift
//  RxZhihu
//
//  Created by vsccw on 2018/12/22.
//  Copyright © 2018 vsccw.com. All rights reserved.
//

import UIKit

final class Application {

  static let shared = Application()
  
  func configuration(with window: UIWindow) {
    let vc = MainController()
    let navigationController = UINavigationController(rootViewController: vc)
    window.rootViewController = navigationController
    window.makeKeyAndVisible()

  }

  func configurationUI() {
    configurationNavigationBar()
  }

  private func configurationNavigationBar() {
    UINavigationBar.appearance().shadowImage = nil
    UINavigationBar.appearance().isTranslucent = false
  }
}

